home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BMUG PD-ROM BV3
/
BMUG PD-ROM Version BV3 (CDRM1097900).iso
/
HyperCard
/
Games
/
The Golden Parrot
/
background_5603.txt
< prev
next >
Wrap
Text File
|
1990-08-20
|
8KB
|
388 lines
-- background: 5603 from stack: in
-- bmap block id: 8177
-- flags: 0000
-- background id: 0
-- name: destination template
----- HyperTalk script -----
on openCard
global score
get score
put it into field "scorebox"
put the number of lines in bkgnd field "textarea" into counter
repeat with num = 1 to counter
show bkgnd button num
add 1 to num
end repeat
repeat with counter = counter to 13
add 1 to counter
hide bkgnd button counter
end repeat
get short name of recent card
if it is "River Trail" then
global score
subtract 5 from score
if score <= 0 then
visual effect dissolve slowly to black
visual effect scroll up slowly
go card "end"
end if
put score into field "scorebox"
get field "textarea" of card "River Trail"
put it&return&"Village" into field "textarea" of card "River Trail"
end if
get short name of recent card
if it is "Mountain Trail" then
global score
subtract 5 from score
if score <= 0 then
visual effect dissolve slowly to black
visual effect scroll up slowly
go card "end"
end if
put score into field "scorebox"
get field "textarea" of card "Mountain Trail"
put it&return&"Jungle" into field "textarea" of card "Mountain Trail"
end if
end openCard
-- part 1 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=6 top=28 right=54 bottom=349
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 21
-- text size: 18
-- style flags: 256
-- line height: 24
-- part name: cardname
-- part 2 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=49 top=58 right=314 bottom=500
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 21
-- text size: 14
-- style flags: 256
-- line height: 18
-- part name: textarea
-- part 17 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=22 top=57 right=76 bottom=51
-- title width / last selected line: 0
-- icon id / first selected line: 16560 / 16560
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: number 1
----- HyperTalk script -----
on mouseUp
get line 1 of bkgnd field "textarea"
visual effect dissolve
go to card it
end mouseUp
-- part 4 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=22 top=75 right=94 bottom=51
-- title width / last selected line: 0
-- icon id / first selected line: 16560 / 16560
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: number 2
----- HyperTalk script -----
on mouseUp
get line 2 of bkgnd field "textarea"
visual effect dissolve
go to card it
end mouseUp
-- part 5 (button)
-- low flags: 80
-- high flags: 2000
-- rect: left=22 top=93 right=112 bottom=51
-- title width / last selected line: 0
-- icon id / first selected line: 16560 / 16560
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: number 3
----- HyperTalk script -----
on mouseUp
get line 3 of bkgnd field "textarea"
visual effect dissolve
go to card it
end mouseUp
-- part 6 (button)
-- low flags: 80
-- high flags: 2000
-- rect: left=22 top=111 right=130 bottom=51
-- title width / last selected line: 0
-- icon id / first selected line: 16560 / 16560
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: number 4
----- HyperTalk script -----
on mouseUp
get line 4 of bkgnd field "textarea"
visual effect dissolve
go to card it
end mouseUp
-- part 7 (button)
-- low flags: 80
-- high flags: 2000
-- rect: left=22 top=129 right=148 bottom=51
-- title width / last selected line: 0
-- icon id / first selected line: 16560 / 16560
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: number 5
----- HyperTalk script -----
on mouseUp
get line 5 of bkgnd field "textarea"
visual effect dissolve
go to card it
end mouseUp
-- part 8 (button)
-- low flags: 80
-- high flags: 2000
-- rect: left=22 top=147 right=166 bottom=51
-- title width / last selected line: 0
-- icon id / first selected line: 16560 / 16560
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: number 6
----- HyperTalk script -----
on mouseUp
get line 6 of bkgnd field "textarea"
visual effect dissolve
go to card it
end mouseUp
-- part 9 (button)
-- low flags: 80
-- high flags: 2000
-- rect: left=22 top=165 right=184 bottom=51
-- title width / last selected line: 0
-- icon id / first selected line: 16560 / 16560
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: number 7
----- HyperTalk script -----
on mouseUp
get line 7 of bkgnd field "textarea"
visual effect dissolve
go to card it
end mouseUp
-- part 10 (button)
-- low flags: 80
-- high flags: 2000
-- rect: left=22 top=183 right=202 bottom=51
-- title width / last selected line: 0
-- icon id / first selected line: 16560 / 16560
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: number 8
----- HyperTalk script -----
on mouseUp
get line 8 of bkgnd field "textarea"
visual effect dissolve
go to card it
end mouseUp
-- part 11 (button)
-- low flags: 80
-- high flags: 2000
-- rect: left=22 top=201 right=220 bottom=51
-- title width / last selected line: 0
-- icon id / first selected line: 16560 / 16560
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: number 9
----- HyperTalk script -----
on mouseUp
get line 9 of bkgnd field "textarea"
visual effect dissolve
go to card it
end mouseUp
-- part 12 (button)
-- low flags: 80
-- high flags: 2000
-- rect: left=22 top=219 right=238 bottom=51
-- title width / last selected line: 0
-- icon id / first selected line: 16560 / 16560
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: number 10
----- HyperTalk script -----
on mouseUp
get line 10 of bkgnd field "textarea"
visual effect dissolve
go to card it
end mouseUp
-- part 13 (button)
-- low flags: 80
-- high flags: 2000
-- rect: left=22 top=237 right=256 bottom=51
-- title width / last selected line: 0
-- icon id / first selected line: 16560 / 16560
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: number 11
----- HyperTalk script -----
on mouseUp
get line 11 of bkgnd field "textarea"
visual effect dissolve
go to card it
end mouseUp
-- part 14 (button)
-- low flags: 80
-- high flags: 2000
-- rect: left=22 top=255 right=274 bottom=51
-- title width / last selected line: 0
-- icon id / first selected line: 16560 / 16560
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: number 12
----- HyperTalk script -----
on mouseUp
get line 12 of bkgnd field "textarea"
visual effect dissolve
go to card it
end mouseUp
-- part 15 (button)
-- low flags: 80
-- high flags: 2000
-- rect: left=22 top=273 right=292 bottom=51
-- title width / last selected line: 0
-- icon id / first selected line: 16560 / 16560
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: number 13
----- HyperTalk script -----
on mouseUp
get line 13 of bkgnd field "textarea"
visual effect dissolve
go to card it
end mouseUp
-- part 16 (button)
-- low flags: 80
-- high flags: 2000
-- rect: left=22 top=291 right=310 bottom=51
-- title width / last selected line: 0
-- icon id / first selected line: 16560 / 16560
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: number 14
----- HyperTalk script -----
on mouseUp
get line 14 of bkgnd field "textarea"
visual effect dissolve
go to card it
end mouseUp
-- part 18 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=449 top=34 right=54 bottom=503
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: scorebox